Skip to content

Allow Windows >= Vista to listen on dual-stack#34

Open
joelpmichael wants to merge 1 commit intongscopeclient:masterfrom
joelpmichael:win32-listen-dual-stack
Open

Allow Windows >= Vista to listen on dual-stack#34
joelpmichael wants to merge 1 commit intongscopeclient:masterfrom
joelpmichael:win32-listen-dual-stack

Conversation

@joelpmichael
Copy link

On Windows, IPV6_V6ONLY defaults to true, so sockets are only listening on IPv6 by default. Must be set to false before bind() is called to bind the socket to the IP address.

Ref: https://learn.microsoft.com/en-us/windows/win32/winsock/dual-stack-sockets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant